package com.triones.yjj.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.triones.yjj.entity.GroupPurchaseGoodsItemDO;
import com.triones.yjj.entity.vo.GroupPurchaseGoodsItemWxVO;
import com.triones.yjj.entity.vo.GroupPurchaseGoodsVO;
import com.triones.yjj.mapper.GroupPurchaseGoodsItemMapper;
import com.triones.yjj.mapper.GroupPurchaseGoodsMapper;
import com.triones.yjj.service.GroupPurchaseGoodsItemService;
import com.triones.yjj.service.GroupPurchaseGoodsService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 活动管理 service 业务实现
 *
 * @Author: triones
 */
@Service
@RequiredArgsConstructor
public class GroupPurchaseGoodsServiceImpl implements GroupPurchaseGoodsService {

    private final GroupPurchaseGoodsMapper groupPurchaseGoodsMapper;


    public GroupPurchaseGoodsVO getInfoByGoodsId(Long goodsId) {
        return groupPurchaseGoodsMapper.selectVoById(goodsId);
    }

}
